package cn.liyao.web.repository;

import cn.liyao.web.model.Group;
import cn.liyao.web.model.GroupNotice;
import org.springframework.data.jpa.repository.JpaRepository;

public interface GroupNoticeRepository extends JpaRepository<GroupNotice, String> {

    GroupNotice findFirstByGroupIdOrderByTimeDesc(String groupId);
}